

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>哔哩哔哩游戏中心</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "微软雅黑", sans-serif;
        }

        
        .header {
            background: #0f0f0f;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #ff6600;
        }
        .nav-links a {
            color: white;
            text-decoration: none;
            margin-left: 20px;
        }
        .user-btn {
            color: #999;
            margin-left: 30px;
        }

        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 20px;
        }

        
        .recommend {
            margin-bottom: 40px;
        }
        .section-title {
            font-size: 22px;
            color: #333;
            margin-bottom: 20px;
        }
        .game-list {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        .game-card {
            width: calc(25% - 15px); 
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: transform 0.3s;
        }
        .game-card:hover {
            transform: translateY(-5px);
        }
        .game-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .game-info {
            padding: 15px;
            text-align: center;
        }
        .download-btn {
            background: #ff6600;
            color: white;
            padding: 8px 20px;
            border: none;
            border-radius: 20px;
            margin-top: 10px;
            cursor: pointer;
        }

        
        .rank-list {
            list-style: none;
        }
        .rank-list li {
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .rank-list li span {
            color: #666;
        }
        .rank-list li:nth-child(odd) {
            background: #f8f8f8;
        }
        .rank-number {
            color: #ff6600;
            font-weight: bold;
            margin-right: 10px;
        }

        /* 响应式布局 */
        @media (max-width: 768px) {
            .game-card {
                width: calc(50% - 10px); 
            }
            .nav-links {
                display: none; 
            }
        }
    </style>
</head>
<body>
    <header class="header">
        <div class="logo">哔哩哔哩游戏</div>
        <div class="nav-links">
            主站
            首页
            排行榜
        </div>
        <div class="user-btn">大会员礼包 | 充值中心</div>
    </header>
    <div class="container">
        <section class="recommend">
            <h2 class="section-title">推荐游戏</h2>
            <div class="game-list">
                <div class="game-card">
                    <img src="./image/llllll.webp" alt="">
                    <div class="game-info">
                        <h3>绝区零（PC版）</h3>
                        <p>开放世界动作游戏</p >
                        <button class="download-btn">立即下载</button>
                    </div>
                </div>
                <div class="game-card">
                    <img src="./image/llllll.webp" alt="">
                    <div class="game-info">
                        <h3>泡姆泡姆</h3>
                        <p>休闲治愈手游</p >
                        <button class="download-btn">立即下载</button>
                    </div>
                </div>
                <div class="game-card">
                    <img src="./image/llllll.webp" alt="">
                    <div class="game-info">
                        <h3>崩坏：星穹铁道</h3>
                        <p>银河冒险策略游戏</p >
                        <button class="download-btn">立即下载</button>
                    </div>
                </div>
                <div class="game-card">
                    <img src="./image/llllll.webp" alt="">
                    <div class="game-info">
                        <h3>原神</h3>
                        <p>开放世界冒险游戏</p >
                        <button class="download-btn">立即下载</button>
                    </div>
                </div>
            </div>
        </section>
        <section class="ranking" id="ranking">
            <h2 class="section-title">热门游戏榜</h2>
            <ol class="rank-list">
                <li>
                    <span class="rank-number">1.</span>
                    《原神》
                    <span>PC/手机</span>
                </li>
                <li>
                    <span class="rank-number">2.</span>
                    《崩坏：星穹铁道》
                    <span>PC/手机</span>
                </li>
                <li>
                    <span class="rank-number">3.</span>
                    《绝区零》
                    <span>PC</span>
                </li>
                <li>
                    <span class="rank-number">4.</span>
                    《泡姆泡姆》
                    <span>手机</span>
                </li>
            </ol>
        </section>
    </div>
</body>
</html>